﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfHeader.aspx.cs" Inherits="Texfina.ERP.wfHeader" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
   <title></title>
   <script type="text/javascript">
      function appLogout() {
         //document.execCommand("ClearAuthenticationCache");
         window.history.forward();
         self.parent.window.location.href = 'wfLogout.aspx';
      }
      function changePeriodo() {
         window.history.forward(1);
         self.parent.window.location.href = 'Default.aspx';
      }
      function changeUser() {
         window.history.forward(1);
         self.parent.window.location.href = 'Default.aspx';
      }
   </script>
   <style type="text/css">
      .style1
      {
         width: 100%;
         background-image: url('Images/Logos/HeaderBkg.png');
         background-repeat: repeat-x;
      }
      html
      {
         overflow: hidden;
      }
   </style>
   <link href="Styles/General.css" rel="stylesheet" type="text/css" />
</head>
<body>
   <form id="form1" runat="server">
   <div>
      <table class="style1">
         <tr>
            <td style="width: 1%">
               &nbsp;
            </td>
            <td rowspan="3" style="text-align: center">
               <img src="Images/Logos/Logo.png" alt="iconheader" />
            </td>
            <td rowspan="3" style="text-align: center">
               <img src="Images/Logos/Version.png" alt="iconheader" />
            </td>
            <td rowspan="3" style="text-align: center; width:30px;">
               &nbsp;</td>
            <td style="width: 5%">
               &nbsp;</td>
            <td style="width: 20%">
               &nbsp;</td>
            <td style="width: 23%">
               &nbsp;
            </td>
            <td style="width: 4%">
               &nbsp;</td>
            <td style="width: 3%">
               &nbsp;</td>
            <td style="width: 20%">
               &nbsp;</td>
            <td style="width: 9%">
               &nbsp;
            </td>
         </tr>
         <tr>
            <td>
               &nbsp;
            </td>
            <td style="text-align: center">
               <asp:Label ID="lblEmpresa" runat="server" ForeColor="White" Text="Empresa"></asp:Label>
               </td>
            <td style="text-align: center">
               <asp:Label ID="lblDescEmp" runat="server" ForeColor="White" Text=""></asp:Label>
               </td>
            <td>
               &nbsp;
            </td>
            <td style="text-align: center">
               <asp:Label ID="lblPeriodo" runat="server" ForeColor="White" Text="Periodo"></asp:Label>
               </td>
            <td style="text-align: center">
               <asp:HyperLink ID="lnkPeriodo" runat="server" ForeColor="White" 
                  NavigateUrl="javascript:changePeriodo();" ToolTip="Cambiar de Periodo">[lnkPeriodo]</asp:HyperLink>
               </td>
            <td style="text-align: center">
               <asp:HyperLink ID="lnkUserName" runat="server" ForeColor="White" NavigateUrl="javascript:changeUser();"></asp:HyperLink>
            </td>
            <td style="text-align: center">
               <asp:HyperLink ID="lnkLogin" runat="server" ForeColor="White" NavigateUrl="javascript:appLogout();">Cerrar Sesión</asp:HyperLink>
            </td>
         </tr>
         <tr>
            <td>
               &nbsp;
            </td>
            <td>
               &nbsp;
            </td>
            <td>
               &nbsp;</td>
            <td>
               &nbsp;</td>
            <td>
               &nbsp;</td>
            <td>
               &nbsp;</td>
            <td>
               &nbsp;
            </td>
            <td>
               &nbsp;
            </td>
         </tr>
      </table>
   </div>
   <asp:HiddenField ID="hdnTimeOut" runat="server" Value="0" />
   </form>
</body>
</html>